<template>
  <div>
    <!-- app有个router-view 用来存放路由组件的 -->
    <!-- 缓存路由机制  里面的include 是设置缓存项  是个数组 -->
    <keep-alive :include="['Home','Login']">
        <router-view></router-view>
    </keep-alive>

  </div>
</template>

<script>
export default {
name:"App"
}
</script>

<style>

</style>